package com.ruoyi.report_jl.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 细集料压碎指标记录-详情业务对象 report_jl_xjlyszbjlb_ba_detail
 *
 * @author tll
 * @date 2024-07-31
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportJlXjlyszbjlbBaDetailBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long detailId;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 筛孔粒径范围（mm）
     */
    @NotBlank(message = "筛孔粒径范围（mm）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shaiklj;

    /**
     * 单粒级试样质量（g）
     */
    @NotNull(message = "单粒级试样质量（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zhilmg;

    /**
     * 试样的筛余量m1（g）
     */
    @NotNull(message = "试样的筛余量m1（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal shaiyl;

    /**
     * 试样的通过量m2（g）
     */
    @NotNull(message = "试样的通过量m2（g）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tonggl;

    /**
     * 该粒级压碎指标（％）
     */
    @NotNull(message = "该粒级压碎指标（％）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal yaszb;

    /**
     * 该粒级压碎指标平均值（％）
     */
    @NotNull(message = "该粒级压碎指标平均值（％）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal lijPjz;

    /**
     * 细集料的压碎指标（％）
     */
    @NotNull(message = "细集料的压碎指标（％）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal xijlYszb;


}
